import time
time_start = time.time() #开始计时
time.sleep(1)
time_end = time.time()
print(time_start)
print('cost time : %d second'%(time_end - time_start))